﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CCH.DAO;
using CCH.Entity;

public partial class _1005_1 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            int boa_no = int.Parse(Request.QueryString["boa_no"]);

            board data = new boardDAO().Get_board(boa_no);

            this.lab_date.Text = data.boa_datetime.Value.ToLongDateString().ConverToCN();
            this.lab_name.Text = data.boa_name.ConverToCN();
            this.lab_post.Text = data.boa_post.ConverToCN();
            this.lab_title.Text = data.boa_title.ConverToCN();

            this.lab_reply.Text = data.boa_reply.ConverToCN();
        }
    }
}